home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
xanga.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
3KB
|
102 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="xanga"
version="$Id: xanga.xml 13478 2007-07-19 19:45:26Z chris $"
xmlns="http://www.flock.com/web-detective#">
<sessioncookies>
<cookie host=".xanga.com" name="GUID" path="/"/>
<cookie host=".xanga.com" name="u" path="/"/>
<cookie host=".xanga.com" name="x" path="/"/>
</sessioncookies>
<detect type="login">
<url domain="xanga.com"/>
<form>
<xpath><![CDATA[[@action="Default.aspx"]]]></xpath>
<field fieldid="XangaHeader_txtSigninUsername" extractas="username"/>
<field fieldid="XangaHeader_txtSigninPassword" type="password" extractas="password"/>
</form>
</detect>
<detect type="signup">
<url domain="xanga.com"><path contains="register"/></url>
<form>
<field name="txtUsername" extractas="username"/>
<field name="txtPassword2" type="password" extractas="password"/>
</form>
</detect>
<detect type="signup">
<url domain="xanga.com"><path contains="register"/></url>
<form>
<field name="registrationModule$txtUsername" extractas="username"/>
<field name="registrationModule$txtPassword2" type="password" extractas="password"/>
</form>
</detect>
<detect type="signup">
<url domain="xanga.com"><path contains="signin"/></url>
<form>
<field name="txtUsername" extractas="username"/>
<field name="txtPassword2" type="password" extractas="password"/>
</form>
</detect>
<detect type="loggedin">
<conditions>
<url domain="xanga.com"/>
<document>
<xpath><![CDATA[//center/span/table/tbody/tr/td/div/a/text()[contains(.,"sign out")]]]></xpath>
</document>
</conditions>
</detect>
<detect type="loggedin">
<conditions>
<url domain="xanga.com"/>
<document>
<xpath><![CDATA[//div[@id="xtoolbar"]//ul[@id="xuser"]//a/text()[contains(.,"sign out")]]]></xpath>
</document>
</conditions>
</detect>
<detect type="loggedout">
<conditions>
<url domain="xanga.com"/>
<document>
<xpath><![CDATA[//div[@id="xpagewrap"]/div[@id="xmain"]/div[@id="xmaincontent"]/ul/li/a/text()[contains(.,"sign in")]]]></xpath>
</document>
</conditions>
</detect>
<detect type="accountinfo">
<results>
<regexp re1="accountid">
<![CDATA[/"http:\/\/www\.xanga\.com\/private\/home\.aspx\?user=([^"]+)"/]]>
</regexp>
</results>
</detect>
<detect type="avatarURLDetect">
<xpath name="avatarURL" extract="attribute:src">
<![CDATA[//img[@id='xpProfileImage']]]>
</xpath>
</detect>
<detect type="changepassword">
<url domain="xanga.com"><path contains="editemailpassword"/></url>
<document>
<regexp multiline="true" re1="username">
<![CDATA[/Username:.*?<td[^>]*?>(.*?)<\/td>/]]>
</regexp>
</document>
<form>
<xpath name="password" extract="value">
<![CDATA[//input[@type="password"][@name="pwdNewPassword2"]]]>
</xpath>
</form>
</detect>
</service>